﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Library
{
    public abstract class Reading
    {
        private string title;
        private string author;
        public bool available = true;
        private bool eCopy;
        private string iDNumber;
        private DepartmentsName departmentLocation;

        public DateTime EndBorrowPeriod { get; set; }

        public Reading()
        {
        }

        public string Title
        {
            get
            {
                return this.title;
            }
            set
            {
                this.title = value;
            }
        }

        public string Author
        {
            get
            {
                return this.author;
            }
            set
            {
                this.author = value;
            }
        }

        public bool ECopy
        {
            get
            {
                return this.eCopy;
            }
            set
            {
                this.eCopy = value;
            }
        }

        public string IDNumber
        {
            get
            {
                return this.iDNumber;
            }
            set
            {
                this.iDNumber = value;
            }
        }

        public DepartmentsName DepartmentLocation
        {
            get
            {
                return this.departmentLocation;
            }
            set
            {
                this.departmentLocation = value;
            }
        }
    }
}
